package com.yejiali.backend.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:yejiali
 * @Date:2025/7/26-07-26-14:51
 * @Decsription:com.yejiali.backend.entity.vo
 * @Version:1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VideosVO {
    private Long videoId;
    //发布者ID（外键，关联users.user_id）
    private Long uploaderId;
    //发布者昵称
    private String uploaderName;
    //标题
    private String title;
    //文字描述
    private String description;
    //封面图url
    private String pictureUrl;
    //播放URL地址
    private String playUrl;
    //分区
    private String tags;
    //播放量
    private Long viewCount;
    //评论数
    private Long commentCount;
    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishTime;
}
